Narrative:
In order to have a correct state syntax
As a software component
I want to parse the states for the actions

Scenario:
When I parse $state
Then I have a message exception $message

Examples:
|state|message|
|$0.someMethod($1,$2)|no exception|
|$1.someMethod|no exception|
|someMethod|no exception|
|$1.someMethod()|no exception|
|someMethod($2)|no exception|
|!$0.someMethod($1)|no exception|
|!someMethod|no exception|
|$x.someMethod|Cannot parse state|
|someMethod(a)|Cannot parse state|
|!2.someMethod|Cannot parse state|
